package com.hqhy.like.stock.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqhy.like.stock.pojo.entity.StockIn;
import com.hqhy.like.stock.pojo.param.StockSearchParam;
import com.hqhy.like.stock.pojo.vo.StockInListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理入库总量数据的Mapper接口
 */
@Repository
public interface StockInMapper extends BaseMapper<StockIn> {
    /**
     * 查询进货库存数据列表
     */
    List<StockInListItemVO> list();

    StockInListItemVO selectStockInById(Long id);

    List<StockInListItemVO> listForSearch(StockSearchParam stockInSearchParam);

    List<StockInListItemVO> listStockInByIds(List<Long> ids);
}
